/*{"rules" : [{"action" : "body",
      "matchField" : "",
      "field" : "",
      "value" : "ubscription_expire_time=1656335475000",
      "matchValue" : "ubscription_expire_time=\\d+",
      "destiontion" : "response",
      "isRegex" : true}],
  "enabled" : true,
  "name" : "漫威漫画 S+💎",
  "description" : "",               网球格式有修改，为了紧凑好看
  "locations" : [{"method" : "POST",
      "scheme" : "https",
      "enabled" : true,
      "port" : 443,
      "query" : "",
      "host" : "services.mu.163.com",
      "path" : "\/marvel\/services"
}]}*/

//模板是：
//body = $response.body.replace(/matchvalue/g, 'value')..replace(/matchvalue/g, 'value');
//$done({body});

//body = $response.body.replace(/isVip":\w+/g, 'isVip":true').replace(/shell":\d+/g, 'shell":6666666');
//$done({body});

//hostname = services.mu.163.com
//rewrite : https:\/\/services\.mu\.163\.com\/marvel\/services    注意区分http还是https，这个看抓包里面的数据
body = $response.body.replace(/ubscription_expire_time=\d+/g,'ubscription_expire_time=1656335475000')
$done({body})
